﻿<Window x:Class="AutoLoL.Dialogs.ChampionDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:converters="clr-namespace:AutoLoL.Converters"
        xmlns:controls="clr-namespace:AutoLoL.Controls"
        Title="Champion"
        Height="300"
        Width="600"
        Icon="/Icon.ico"
        ResizeMode="NoResize"
        WindowStartupLocation="CenterOwner" Loaded="Window_Loaded">
    <Window.Resources>
        <converters:ObjectToVisibilityConverter x:Key="ObjectToVisibilityConverter" />
    </Window.Resources>
    <DockPanel LastChildFill="True" Margin="10">
        <Grid DockPanel.Dock="Bottom" Margin="0 10 0 0">
            <DockPanel LastChildFill="True">
                <Image Height="16" Width="16" Source="pack://siteoforigin:,,,/Data/Images/Icons/magnifier.png" DockPanel.Dock="Left" />
                <TextBlock Margin="5 0 0 0" Text="Filter:" VerticalAlignment="Center" DockPanel.Dock="Left" />
                <Button Name="CancelButton" Content="Cancel" Height="23" Width="75" Margin="10 0 0 0" Click="CancelButton_Click" DockPanel.Dock="Right" />
                <Button Name="NoneButton" Content="None" Height="23" Width="75" Margin="10 0 0 0" Click="NoneButton_Click" DockPanel.Dock="Right" />
                <Button Name="SaveButton" Content="Select" Height="23" Width="75" Click="SaveButton_Click" DockPanel.Dock="Right" />
                <TextBox Name="FilterTextBox" KeyDown="FilterTextBox_KeyDown" Margin="5 0 10 0" TextChanged="FilterTextBox_TextChanged" />
            </DockPanel>
        </Grid>
        <controls:ChampionSelectControl x:Name="ChampionSelectControl" MouseDoubleClick="ChampionSelectControl_MouseDoubleClick"/>
    </DockPanel>
</Window>